package com.zjsd.sqeybusiness.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 业务员目标任务对象 busitask
 *
 * @author Zheng
 * @date 2021-07-14
 */
public class Busitask extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long taskid;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userid;

    /** 部门id */
    @Excel(name = "业务员名称")
    private String ywyname;

    /** 部门id */
    @Excel(name = "部门id")
    private Long deptid;

    /** 任务数 */
    @Excel(name = "总业绩目标")
    private BigDecimal tasknum;

    /** 所属月份 */
    @Excel(name = "所属月份")
    private Long ssyf;

    /** 录入时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "录入时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lrtime;

    private String qrbz ;

    /** 任务数 */
    @Excel(name = "1-8号业绩目标")
    private BigDecimal firstTaskNum;

    /** 任务数 */
    @Excel(name = "9-15号业绩目标")
    private BigDecimal secondTaskNum;

    /** 任务数 */
    @Excel(name = "16-23号业绩目标")
    private BigDecimal thirdTaskNum;

    /** 任务数 */
    @Excel(name = "24号至月底业绩目标")
    private BigDecimal fourthTaskNum;


    public void setTaskid(Long taskid)
    {
        this.taskid = taskid;
    }

    public Long getTaskid()
    {
        return taskid;
    }
    public void setUserid(Long userid)
    {
        this.userid = userid;
    }

    public Long getUserid()
    {
        return userid;
    }
    public void setDeptid(Long deptid)
    {
        this.deptid = deptid;
    }

    public Long getDeptid()
    {
        return deptid;
    }
    public void setTasknum(BigDecimal tasknum)
    {
        this.tasknum = tasknum;
    }

    public BigDecimal getTasknum()
    {
        return tasknum;
    }
    public void setSsyf(Long ssyf)
    {
        this.ssyf = ssyf;
    }

    public Long getSsyf()
    {
        return ssyf;
    }
    public void setLrtime(Date lrtime)
    {
        this.lrtime = lrtime;
    }

    public Date getLrtime()
    {
        return lrtime;
    }

    public String getYwyname() {
        return ywyname;
    }

    public void setYwyname(String ywyname) {
        this.ywyname = ywyname;
    }

    public String getQrbz() {
        return qrbz;
    }

    public void setQrbz(String qrbz) {
        this.qrbz = qrbz;
    }

    public BigDecimal getFirstTaskNum() {
        return firstTaskNum;
    }

    public void setFirstTaskNum(BigDecimal firstTaskNum) {
        this.firstTaskNum = firstTaskNum;
    }

    public BigDecimal getSecondTaskNum() {
        return secondTaskNum;
    }

    public void setSecondTaskNum(BigDecimal secondTaskNum) {
        this.secondTaskNum = secondTaskNum;
    }

    public BigDecimal getThirdTaskNum() {
        return thirdTaskNum;
    }

    public void setThirdTaskNum(BigDecimal thirdTaskNum) {
        this.thirdTaskNum = thirdTaskNum;
    }

    public BigDecimal getFourthTaskNum() {
        return fourthTaskNum;
    }

    public void setFourthTaskNum(BigDecimal fourthTaskNum) {
        this.fourthTaskNum = fourthTaskNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("taskid", getTaskid())
            .append("userid", getUserid())
            .append("deptid", getDeptid())
            .append("tasknum", getTasknum())
            .append("firstTaskNum", getFirstTaskNum())
            .append("secondTaskNum", getSecondTaskNum())
            .append("thirdTaskNum", getThirdTaskNum())
            .append("fourthTaskNum", getFourthTaskNum())
            .append("ssyf", getSsyf())
            .append("lrtime", getLrtime())
            .append("ywyname",getYwyname())
            .append("qrbz",getQrbz())
            .toString();
    }
}
